<?php
namespace Amis\dataviewer;

use Amis\Basics\AmisBasics;

class Step extends AmisBasics
{
    /**
     * 标题
     * @param string $title
     * @return $this
     */
    public function title(string $title)
    {
        $this->title = $title;
        return $this;
    }

    /**
     * 子标题
     * @param string $subTitle
     * @return $this
     */
    public function subTitle(string $subTitle)
    {
        $this->subTitle = $subTitle;
        return $this;
    }

    /**
     * 详细描述
     * @param string $description
     * @return $this
     */
    public function description(string $description)
    {
        $this->description = $description;
        return $this;
    }

    /**
     * icon 名，支持 fontawesome v4 或使用 url
     * @param string $icon
     * @return $this
     */
    public function icon(string $icon)
    {
        $this->icon = $icon;
        return $this;
    }

    public function value(string $value)
    {
        $this->value = $value;
        return $this;
    }

    public function className(string $className)
    {
        $this->className = $className;
        return $this;
    }
}